import request from '@/utils/request'

// 登录
export const login = (data) => request({
  url: '/frame/login',
  method: 'post',
  data
})

// 退出登录
export const logout = () => request({
  url: '/frame/logout',
  method: 'post'
})
